package com.peng.ivos.vehicle.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 车辆维修保存DTO
 * @description: 车辆维修保存参数
 * @author： Peng
 * @date： 2024/6/9
 * @version: 1.0
 */
@Data
public class VehicleRepairSaveParam extends VehicleSaveParam{
    @ApiModelProperty(value = "维修单ID")
    private Long repairId;
    @ApiModelProperty(value = "送修人ID")
    private Long userId;
    @ApiModelProperty(value = "送修人姓名")
    private String username;
    @ApiModelProperty(value = "车辆ID")
    private Long vehicleId;
    @ApiModelProperty(value = "维修项目")
    private String item;
    @ApiModelProperty(value = "维修地址")
    private String addr;
    @ApiModelProperty(value = "维修材料")
    private String material;
    @ApiModelProperty(value = "维修费用")
    private BigDecimal fee;
    @ApiModelProperty(value = "维修时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date repairTime;
    @ApiModelProperty(value = "维修状态")
    private String repairStatus;
}
